Component({
    properties: {
        show: {
            type: Boolean,
            value: !1
        },
        title: {
            type: String,
            value: "提示"
        },
        showTitle: {
            type: Boolean,
            value: !1
        },
        showIcon: {
            type: Boolean,
            value: !1
        },
        showLogin: {
            type: Boolean,
            value: !1
        },
        showShare: {
            type: Boolean,
            value: !1
        },
        showConfirm: {
            type: Boolean,
            value: !1
        },
        showCancel: {
            type: Boolean,
            value: !0
        },
        content: {
            type: String,
            value: ""
        },
        confirmText: {

            type: String,
            value: "确定"

    },
    confirmText2: {

        type: String,
        value: ""

},
        cancelText: {
            type: String,
            value: "暂时不用"
        },
        shareText: {
            type: String,
            value: "分享给好友"
        },
        confirmClass: {
            type: String,
            value: "btn-bg-green"
        }
    },
    data: {},
    methods: {
        onConfirmTapAd: function(t){
            var confirm=confirm
            this.setData({
                show: !this.data.show
            }), this.triggerEvent("linconfirmAd", confirm, {});
        },
        onConfirmTap: function(t) {
            var confirm=confirm
            this.setData({
                show: !this.data.show
            }), this.triggerEvent("linconfirm", confirm, {});
        },

        onCancelTap: function(t) {
            this.setData({
                show: !this.data.show
            }), this.triggerEvent("lincancel", "cancel", {});
        },
        getProfile: function(t) {
            this.triggerEvent("lingetProfile");
        },
        onDialogTap: function(t) {
            !0 !== this.data.locked && this.setData({
                show: !this.data.show
            }), this.triggerEvent("lintap", !0, {});
        },
        doNothingMove: function(t) {}
    },
})

